.class public Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;
.super Lcom/estrongs/android/ui/base/HomeAsBackActivity;
.source "LeftNaviManagerActivity.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity$b;
    }
.end annotation


# instance fields
.field private j:Lcom/estrongs/android/pop/app/leftnavigation/g0;

.field private k:Landroid/widget/ExpandableListView;

.field private l:Landroidx/appcompat/widget/Toolbar;

.field private m:Landroidx/appcompat/app/ActionBar;

.field private n:Landroid/widget/TextView;

.field private o:Z

.field private p:Ljava/lang/String;

.field private q:Z


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->o:Z

    const/4 v0, 0x1

    .line 3
    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->q:Z

    return-void
.end method

.method private F()V
    .locals 2

    .line 1
    invoke-static {}, Les/b00;->q()Les/b00;

    move-result-object v0

    invoke-virtual {v0}, Les/b00;->i()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->j:Lcom/estrongs/android/pop/app/leftnavigation/g0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/leftnavigation/g0;->a()Ljava/util/List;

    move-result-object v0

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/app/leftnavigation/d0;->c()Lcom/estrongs/android/pop/app/leftnavigation/d0;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/estrongs/android/pop/app/leftnavigation/d0;->a(Ljava/util/List;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->j:Lcom/estrongs/android/pop/app/leftnavigation/g0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/leftnavigation/g0;->b()V

    .line 5
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    goto :goto_0

    :cond_0
    const v0, 0x7f110770

    .line 6
    invoke-static {v0}, Lcom/estrongs/android/ui/view/d;->a(I)V

    goto :goto_0

    :cond_1
    const-string v0, "nav_manage"

    .line 7
    invoke-static {p0, v0}, Lcom/estrongs/android/pop/app/premium/newui/ChinaMemberActivity;->a(Landroid/content/Context;Ljava/lang/String;)V

    :goto_0
    return-void
.end method

.method public static a(Landroid/content/Context;Ljava/lang/String;)V
    .locals 2

    .line 1
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "from"

    .line 2
    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 3
    invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    return-void
.end method


# virtual methods
.method public synthetic a(Landroid/content/DialogInterface;I)V
    .locals 0

    .line 5
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    .line 6
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    return-void
.end method

.method public synthetic a(Landroid/view/View;)V
    .locals 0

    .line 4
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->F()V

    return-void
.end method

.method public synthetic b(Landroid/content/DialogInterface;I)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->F()V

    .line 2
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    return-void
.end method

.method public synthetic f(Z)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->n:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setEnabled(Z)V

    .line 2
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->o:Z

    return-void
.end method

.method public onBackPressed()V
    .locals 3

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->q:Z

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->o:Z

    if-eqz v0, :cond_0

    .line 2
    new-instance v0, Lcom/estrongs/android/ui/dialog/q$n;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const v1, 0x7f11072b

    .line 3
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(I)Lcom/estrongs/android/ui/dialog/q$n;

    const v1, 0x7f1105e8

    new-instance v2, Lcom/estrongs/android/pop/app/leftnavigation/c;

    invoke-direct {v2, p0}, Lcom/estrongs/android/pop/app/leftnavigation/c;-><init>(Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;)V

    .line 4
    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/ui/dialog/q$n;->c(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    const v1, 0x7f110066

    new-instance v2, Lcom/estrongs/android/pop/app/leftnavigation/b;

    invoke-direct {v2, p0}, Lcom/estrongs/android/pop/app/leftnavigation/b;-><init>(Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;)V

    .line 5
    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/ui/dialog/q$n;->e(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 6
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q$n;->a()Lcom/estrongs/android/ui/dialog/q;

    move-result-object v0

    .line 7
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q;->show()V

    const/4 v0, 0x0

    .line 8
    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->q:Z

    return-void

    .line 9
    :cond_0
    invoke-super {p0}, Landroidx/activity/ComponentActivity;->onBackPressed()V

    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3

    .line 1
    invoke-super {p0, p1}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;->onCreate(Landroid/os/Bundle;)V

    const p1, 0x7f0c0035

    .line 2
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;->setContentView(I)V

    const p1, 0x7f110aa0

    .line 3
    invoke-virtual {p0, p1}, Landroid/app/Activity;->setTitle(I)V

    const p1, 0x7f090bdd

    .line 4
    invoke-virtual {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroidx/appcompat/widget/Toolbar;

    iput-object p1, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->l:Landroidx/appcompat/widget/Toolbar;

    .line 5
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/esclasses/ESActivity;->setSupportActionBar(Landroidx/appcompat/widget/Toolbar;)V

    .line 6
    invoke-virtual {p0}, Landroidx/appcompat/app/AppCompatActivity;->getSupportActionBar()Landroidx/appcompat/app/ActionBar;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->m:Landroidx/appcompat/app/ActionBar;

    const p1, 0x7f0906eb

    .line 7
    invoke-virtual {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/ExpandableListView;

    iput-object p1, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->k:Landroid/widget/ExpandableListView;

    const/4 v0, 0x2

    .line 8
    invoke-virtual {p1, v0}, Landroid/widget/ExpandableListView;->setOverScrollMode(I)V

    .line 9
    iget-object p1, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->k:Landroid/widget/ExpandableListView;

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/widget/ExpandableListView;->setVerticalScrollBarEnabled(Z)V

    .line 10
    iget-object p1, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->k:Landroid/widget/ExpandableListView;

    invoke-virtual {p1, v0}, Landroid/widget/ExpandableListView;->setFastScrollEnabled(Z)V

    .line 11
    iget-object p1, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->k:Landroid/widget/ExpandableListView;

    invoke-virtual {p1, v0}, Landroid/widget/ExpandableListView;->setDividerHeight(I)V

    .line 12
    new-instance p1, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity$b;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->k:Landroid/widget/ExpandableListView;

    const/4 v2, 0x0

    invoke-direct {p1, v1, v2}, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity$b;-><init>(Landroid/widget/ExpandableListView;Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity$a;)V

    .line 13
    new-instance v1, Lcom/estrongs/android/pop/app/leftnavigation/g0;

    invoke-direct {v1, p0, p1}, Lcom/estrongs/android/pop/app/leftnavigation/g0;-><init>(Landroid/content/Context;Landroid/os/Handler;)V

    iput-object v1, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->j:Lcom/estrongs/android/pop/app/leftnavigation/g0;

    .line 14
    iget-object p1, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->k:Landroid/widget/ExpandableListView;

    invoke-virtual {p1, v1}, Landroid/widget/ExpandableListView;->setAdapter(Landroid/widget/ExpandableListAdapter;)V

    const p1, 0x7f0901c2

    .line 15
    invoke-virtual {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->n:Landroid/widget/TextView;

    .line 16
    new-instance v1, Lcom/estrongs/android/pop/app/leftnavigation/d;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/leftnavigation/d;-><init>(Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;)V

    invoke-virtual {p1, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 17
    iget-object p1, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->n:Landroid/widget/TextView;

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setEnabled(Z)V

    .line 18
    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->o:Z

    .line 19
    iget-object p1, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->j:Lcom/estrongs/android/pop/app/leftnavigation/g0;

    new-instance v0, Lcom/estrongs/android/pop/app/leftnavigation/a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/leftnavigation/a;-><init>(Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;)V

    invoke-virtual {p1, v0}, Lcom/estrongs/android/pop/app/leftnavigation/g0;->a(Lcom/estrongs/android/pop/app/leftnavigation/c0;)V

    .line 20
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object p1

    const-string v0, "from"

    invoke-virtual {p1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->p:Ljava/lang/String;

    const-string v0, "nav_manage"

    .line 21
    invoke-static {v0, p1}, Lcom/estrongs/android/statistics/c;->d(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public onCreateOptionsMenu(Landroid/view/Menu;)Z
    .locals 0

    .line 1
    invoke-super {p0, p1}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;->onCreateOptionsMenu(Landroid/view/Menu;)Z

    move-result p1

    return p1
.end method

.method protected onDestroy()V
    .locals 0

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onDestroy()V

    return-void
.end method

.method public onOptionsItemSelected(Landroid/view/MenuItem;)Z
    .locals 2

    .line 1
    invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I

    move-result v0

    const v1, 0x102002c

    if-ne v0, v1, :cond_0

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->onBackPressed()V

    const/4 p1, 0x1

    return p1

    .line 3
    :cond_0
    invoke-super {p0, p1}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;->onOptionsItemSelected(Landroid/view/MenuItem;)Z

    move-result p1

    return p1
.end method

.method protected onStart()V
    .locals 4

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;->onStart()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/leftnavigation/LeftNaviManagerActivity;->m:Landroidx/appcompat/app/ActionBar;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    invoke-virtual {p0}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;->B()I

    move-result v2

    const v3, 0x7f060320

    invoke-virtual {v1, v2, v3}, Lcom/estrongs/android/ui/theme/b;->b(II)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroidx/appcompat/app/ActionBar;->setHomeAsUpIndicator(Landroid/graphics/drawable/Drawable;)V

    return-void
.end method
